//
//  CYBProject.m
//  01-基本框架搭建
//
//  Created by apple on 16/9/2.
//  Copyright © 2016年 apple. All rights reserved.
//

#import "CYBProject.h"

@implementation CYBProject

- (instancetype)initWithDict:(NSDictionary *)dict{

    if (self = [super init]) {
        self.icon = dict[@"icon"];
        self.title = dict[@"title"];
    }
    return self;
}

+ (instancetype)ProjectWithDict:(NSDictionary *)dict{

    return [[self alloc] initWithDict:dict];
}

@end
